package com.ocom.common.pojo.payconfig;


import com.ocom.common.entity.payconfig.EntityDishesInfo;
import com.ocom.common.entity.payconfig.EntityMqttDevice;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class MqttDeviceListVo extends  EntityMqttDevice{

    Integer status = 0 ; // 0可用，1未设置，2未定价

    //价格
    List<MqttDeviceListVoInnVo> disheList =new ArrayList<>();

    @Data
    public static class MqttDeviceListVoInnVo extends EntityDishesInfo {

        List<MachPriceModeVo> priceList =new ArrayList<>();
    }

    @Data
    public static class MachPriceModeVo  {
        Integer price;
        Integer priceMode;
    }
}
